package kr.ac.chungbuk.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import kr.ac.chungbuk.dao.BoardDAO;

public class BoardReplyCommand implements BoardCommand {
	@Override
	public void execute(HttpServletRequest request, HttpServletResponse response) {
		String title = request.getParameter("title");
		String author = request.getParameter("author");
		String content = request.getParameter("content");
		String repRoot = request.getParameter("repRoot");
		String repStep = request.getParameter("repStep");
		String repIndent = request.getParameter("repIndent");
		
		BoardDAO dao = new BoardDAO();
		dao.reply(title, author, content, repRoot, repStep, repIndent);
	}
}
